<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<style type="text/css">
	.s{}
	.b{}
</style>
</head>
<body>
<div class="s" title="test_1">test_1</div>
	<div class="s b" title="testssadfasfas">testasefasdfasfasf</div>
	
</body>
<script type="text/javascript" src="js/jquery-1.4.2.min.js"></script>
<script type="text/javascript">
	$(document).ready(function(){
		alert($('.s.b').attr('title'));
	});
</script>
</html>